'****************************************************************************'
'                                                                            '
' Copyright (C) 2010 Muhammad alaa                                           '
'                                                                            '
' This program is free software; you can redistribute it and/or modify       '
' it under the terms of the GNU General Public License as published by       '
' the Free Software Foundation; either version 2 of the License, or          '
' (at your option) any later version.                                        '
'                                                                            '
' This program is distributed in the hope that it will be useful,            '
' but WITHOUT ANY WARRANTY; without even the implied warranty of             '
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              '
' GNU General Public License for more details.                               '
'                                                                            '
' You should have received a copy of the GNU General Public License along    '
' with this program; if not, write to the Free Software Foundation, Inc.,    '
' 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.                '
'                                                                            '
'****************************************************************************'

Namespace HResults

    ' FACILITY_DISPATCH = 2
    Public NotInheritable Class Dispatch
        Private Sub New()
        End Sub

        Public Shared ReadOnly DISP_E_UNKNOWNINTERFACE As HResult = &H80020001
        Public Shared ReadOnly RPC_NT_INVALID_STRING_BINDING As HResult = &HC0020001
        Public Shared ReadOnly RPC_NT_WRONG_KIND_OF_BINDING As HResult = &HC0020002
        Public Shared ReadOnly DISP_E_MEMBERNOTFOUND As HResult = &H80020003
        Public Shared ReadOnly RPC_NT_INVALID_BINDING As HResult = &HC0020003
        Public Shared ReadOnly DISP_E_PARAMNOTFOUND As HResult = &H80020004
        Public Shared ReadOnly RPC_NT_PROTSEQ_NOT_SUPPORTED As HResult = &HC0020004
        Public Shared ReadOnly DISP_E_TYPEMISMATCH As HResult = &H80020005
        Public Shared ReadOnly RPC_NT_INVALID_RPC_PROTSEQ As HResult = &HC0020005
        Public Shared ReadOnly DISP_E_UNKNOWNNAME As HResult = &H80020006
        Public Shared ReadOnly RPC_NT_INVALID_STRING_UUID As HResult = &HC0020006
        Public Shared ReadOnly DISP_E_NONAMEDARGS As HResult = &H80020007
        Public Shared ReadOnly RPC_NT_INVALID_ENDPOINT_FORMAT As HResult = &HC0020007
        Public Shared ReadOnly DISP_E_BADVARTYPE As HResult = &H80020008
        Public Shared ReadOnly RPC_NT_INVALID_NET_ADDR As HResult = &HC0020008
        Public Shared ReadOnly DISP_E_EXCEPTION As HResult = &H80020009
        Public Shared ReadOnly RPC_NT_NO_ENDPOINT_FOUND As HResult = &HC0020009
        Public Shared ReadOnly DISP_E_OVERFLOW As HResult = &H8002000A
        Public Shared ReadOnly RPC_NT_INVALID_TIMEOUT As HResult = &HC002000A
        Public Shared ReadOnly DISP_E_BADINDEX As HResult = &H8002000B
        Public Shared ReadOnly RPC_NT_OBJECT_NOT_FOUND As HResult = &HC002000B
        Public Shared ReadOnly DISP_E_UNKNOWNLCID As HResult = &H8002000C
        Public Shared ReadOnly RPC_NT_ALREADY_REGISTERED As HResult = &HC002000C
        Public Shared ReadOnly DISP_E_ARRAYISLOCKED As HResult = &H8002000D
        Public Shared ReadOnly RPC_NT_TYPE_ALREADY_REGISTERED As HResult = &HC002000D
        Public Shared ReadOnly COR_E_TARGETPARAMCOUNT As HResult = &H8002000E
        Public Shared ReadOnly DISP_E_BADPARAMCOUNT As HResult = &H8002000E
        Public Shared ReadOnly RPC_NT_ALREADY_LISTENING As HResult = &HC002000E
        Public Shared ReadOnly DISP_E_PARAMNOTOPTIONAL As HResult = &H8002000F
        Public Shared ReadOnly RPC_NT_NO_PROTSEQS_REGISTERED As HResult = &HC002000F
        Public Shared ReadOnly DISP_E_BADCALLEE As HResult = &H80020010
        Public Shared ReadOnly RPC_NT_NOT_LISTENING As HResult = &HC0020010
        Public Shared ReadOnly DISP_E_NOTACOLLECTION As HResult = &H80020011
        Public Shared ReadOnly RPC_NT_UNKNOWN_MGR_TYPE As HResult = &HC0020011
        Public Shared ReadOnly COR_E_DIVIDEBYZERO As HResult = &H80020012
        Public Shared ReadOnly DISP_E_DIVBYZERO As HResult = &H80020012
        Public Shared ReadOnly RPC_NT_UNKNOWN_IF As HResult = &HC0020012
        Public Shared ReadOnly DISP_E_BUFFERTOOSMALL As HResult = &H80020013
        Public Shared ReadOnly RPC_NT_NO_BINDINGS As HResult = &HC0020013
        Public Shared ReadOnly RPC_NT_NO_PROTSEQS As HResult = &HC0020014
        Public Shared ReadOnly RPC_NT_CANT_CREATE_ENDPOINT As HResult = &HC0020015
        Public Shared ReadOnly RPC_NT_OUT_OF_RESOURCES As HResult = &HC0020016
        Public Shared ReadOnly RPC_NT_SERVER_UNAVAILABLE As HResult = &HC0020017
        Public Shared ReadOnly RPC_NT_SERVER_TOO_BUSY As HResult = &HC0020018
        Public Shared ReadOnly RPC_NT_INVALID_NETWORK_OPTIONS As HResult = &HC0020019
        Public Shared ReadOnly RPC_NT_NO_CALL_ACTIVE As HResult = &HC002001A
        Public Shared ReadOnly RPC_NT_CALL_FAILED As HResult = &HC002001B
        Public Shared ReadOnly RPC_NT_CALL_FAILED_DNE As HResult = &HC002001C
        Public Shared ReadOnly RPC_NT_PROTOCOL_ERROR As HResult = &HC002001D
        Public Shared ReadOnly RPC_NT_UNSUPPORTED_TRANS_SYN As HResult = &HC002001F
        Public Shared ReadOnly RPC_NT_UNSUPPORTED_TYPE As HResult = &HC0020021
        Public Shared ReadOnly RPC_NT_INVALID_TAG As HResult = &HC0020022
        Public Shared ReadOnly RPC_NT_INVALID_BOUND As HResult = &HC0020023
        Public Shared ReadOnly RPC_NT_NO_ENTRY_NAME As HResult = &HC0020024
        Public Shared ReadOnly RPC_NT_INVALID_NAME_SYNTAX As HResult = &HC0020025
        Public Shared ReadOnly RPC_NT_UNSUPPORTED_NAME_SYNTAX As HResult = &HC0020026
        Public Shared ReadOnly RPC_NT_UUID_NO_ADDRESS As HResult = &HC0020028
        Public Shared ReadOnly RPC_NT_DUPLICATE_ENDPOINT As HResult = &HC0020029
        Public Shared ReadOnly RPC_NT_UNKNOWN_AUTHN_TYPE As HResult = &HC002002A
        Public Shared ReadOnly RPC_NT_MAX_CALLS_TOO_SMALL As HResult = &HC002002B
        Public Shared ReadOnly RPC_NT_STRING_TOO_LONG As HResult = &HC002002C
        Public Shared ReadOnly RPC_NT_PROTSEQ_NOT_FOUND As HResult = &HC002002D
        Public Shared ReadOnly RPC_NT_PROCNUM_OUT_OF_RANGE As HResult = &HC002002E
        Public Shared ReadOnly RPC_NT_BINDING_HAS_NO_AUTH As HResult = &HC002002F
        Public Shared ReadOnly RPC_NT_UNKNOWN_AUTHN_SERVICE As HResult = &HC0020030
        Public Shared ReadOnly RPC_NT_UNKNOWN_AUTHN_LEVEL As HResult = &HC0020031
        Public Shared ReadOnly RPC_NT_INVALID_AUTH_IDENTITY As HResult = &HC0020032
        Public Shared ReadOnly RPC_NT_UNKNOWN_AUTHZ_SERVICE As HResult = &HC0020033
        Public Shared ReadOnly EPT_NT_INVALID_ENTRY As HResult = &HC0020034
        Public Shared ReadOnly EPT_NT_CANT_PERFORM_OP As HResult = &HC0020035
        Public Shared ReadOnly EPT_NT_NOT_REGISTERED As HResult = &HC0020036
        Public Shared ReadOnly RPC_NT_NOTHING_TO_EXPORT As HResult = &HC0020037
        Public Shared ReadOnly RPC_NT_INCOMPLETE_NAME As HResult = &HC0020038
        Public Shared ReadOnly RPC_NT_INVALID_VERS_OPTION As HResult = &HC0020039
        Public Shared ReadOnly RPC_NT_NO_MORE_MEMBERS As HResult = &HC002003A
        Public Shared ReadOnly RPC_NT_NOT_ALL_OBJS_UNEXPORTED As HResult = &HC002003B
        Public Shared ReadOnly RPC_NT_INTERFACE_NOT_FOUND As HResult = &HC002003C
        Public Shared ReadOnly RPC_NT_ENTRY_ALREADY_EXISTS As HResult = &HC002003D
        Public Shared ReadOnly RPC_NT_ENTRY_NOT_FOUND As HResult = &HC002003E
        Public Shared ReadOnly RPC_NT_NAME_SERVICE_UNAVAILABLE As HResult = &HC002003F
        Public Shared ReadOnly RPC_NT_INVALID_NAF_ID As HResult = &HC0020040
        Public Shared ReadOnly RPC_NT_CANNOT_SUPPORT As HResult = &HC0020041
        Public Shared ReadOnly RPC_NT_NO_CONTEXT_AVAILABLE As HResult = &HC0020042
        Public Shared ReadOnly RPC_NT_INTERNAL_ERROR As HResult = &HC0020043
        Public Shared ReadOnly RPC_NT_ZERO_DIVIDE As HResult = &HC0020044
        Public Shared ReadOnly RPC_NT_ADDRESS_ERROR As HResult = &HC0020045
        Public Shared ReadOnly RPC_NT_FP_DIV_ZERO As HResult = &HC0020046
        Public Shared ReadOnly RPC_NT_FP_UNDERFLOW As HResult = &HC0020047
        Public Shared ReadOnly RPC_NT_FP_OVERFLOW As HResult = &HC0020048
        Public Shared ReadOnly RPC_NT_CALL_IN_PROGRESS As HResult = &HC0020049
        Public Shared ReadOnly RPC_NT_NO_MORE_BINDINGS As HResult = &HC002004A
        Public Shared ReadOnly RPC_NT_GROUP_MEMBER_NOT_FOUND As HResult = &HC002004B
        Public Shared ReadOnly EPT_NT_CANT_CREATE As HResult = &HC002004C
        Public Shared ReadOnly RPC_NT_INVALID_OBJECT As HResult = &HC002004D
        Public Shared ReadOnly RPC_NT_NO_INTERFACES As HResult = &HC002004F
        Public Shared ReadOnly RPC_NT_CALL_CANCELLED As HResult = &HC0020050
        Public Shared ReadOnly RPC_NT_BINDING_INCOMPLETE As HResult = &HC0020051
        Public Shared ReadOnly RPC_NT_COMM_FAILURE As HResult = &HC0020052
        Public Shared ReadOnly RPC_NT_UNSUPPORTED_AUTHN_LEVEL As HResult = &HC0020053
        Public Shared ReadOnly RPC_NT_NO_PRINC_NAME As HResult = &HC0020054
        Public Shared ReadOnly RPC_NT_NOT_RPC_ERROR As HResult = &HC0020055
        Public Shared ReadOnly RPC_NT_UUID_LOCAL_ONLY As HResult = &H40020056
        Public Shared ReadOnly RPC_NT_SEC_PKG_ERROR As HResult = &HC0020057
        Public Shared ReadOnly RPC_NT_NOT_CANCELLED As HResult = &HC0020058
        Public Shared ReadOnly RPC_NT_INVALID_ASYNC_HANDLE As HResult = &HC0020062
        Public Shared ReadOnly RPC_NT_INVALID_ASYNC_CALL As HResult = &HC0020063
        Public Shared ReadOnly RPC_NT_PROXY_ACCESS_DENIED As HResult = &HC0020064
        Public Shared ReadOnly RPC_NT_SEND_INCOMPLETE As HResult = &H400200AF
        Public Shared ReadOnly OLESCRIPT_E_SYNTAX As HResult = &H80020101
        Public Shared ReadOnly TYPE_E_BUFFERTOOSMALL As HResult = &H80028016
        Public Shared ReadOnly TYPE_E_FIELDNOTFOUND As HResult = &H80028017
        Public Shared ReadOnly TYPE_E_INVDATAREAD As HResult = &H80028018
        Public Shared ReadOnly TYPE_E_UNSUPFORMAT As HResult = &H80028019
        Public Shared ReadOnly TYPE_E_REGISTRYACCESS As HResult = &H8002801C
        Public Shared ReadOnly TYPE_E_LIBNOTREGISTERED As HResult = &H8002801D
        Public Shared ReadOnly TYPE_E_UNDEFINEDTYPE As HResult = &H80028027
        Public Shared ReadOnly TYPE_E_QUALIFIEDNAMEDISALLOWED As HResult = &H80028028
        Public Shared ReadOnly TYPE_E_INVALIDSTATE As HResult = &H80028029
        Public Shared ReadOnly TYPE_E_WRONGTYPEKIND As HResult = &H8002802A
        Public Shared ReadOnly TYPE_E_ELEMENTNOTFOUND As HResult = &H8002802B
        Public Shared ReadOnly TYPE_E_AMBIGUOUSNAME As HResult = &H8002802C
        Public Shared ReadOnly TYPE_E_NAMECONFLICT As HResult = &H8002802D
        Public Shared ReadOnly TYPE_E_UNKNOWNLCID As HResult = &H8002802E
        Public Shared ReadOnly TYPE_E_DLLFUNCTIONNOTFOUND As HResult = &H8002802F
        Public Shared ReadOnly TYPE_E_BADMODULEKIND As HResult = &H800288BD
        Public Shared ReadOnly TYPE_E_SIZETOOBIG As HResult = &H800288C5
        Public Shared ReadOnly TYPE_E_DUPLICATEID As HResult = &H800288C6
        Public Shared ReadOnly TYPE_E_INVALIDID As HResult = &H800288CF
        Public Shared ReadOnly TYPE_E_TYPEMISMATCH As HResult = &H80028CA0
        Public Shared ReadOnly TYPE_E_OUTOFBOUNDS As HResult = &H80028CA1
        Public Shared ReadOnly TYPE_E_IOERROR As HResult = &H80028CA2
        Public Shared ReadOnly TYPE_E_CANTCREATETMPFILE As HResult = &H80028CA3
        Public Shared ReadOnly TYPE_E_CANTLOADLIBRARY As HResult = &H80029C4A
        Public Shared ReadOnly TYPE_E_INCONSISTENTPROPFUNCS As HResult = &H80029C83
        Public Shared ReadOnly TYPE_E_CIRCULARTYPE As HResult = &H80029C84
    End Class

End Namespace